package wt.auto.entity;

import java.util.ArrayList;
import java.util.List;

public class _ManagerAssessExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public _ManagerAssessExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIsNull() {
            addCriterion("BUSINESS_ID is null");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIsNotNull() {
            addCriterion("BUSINESS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessIdEqualTo(String value) {
            addCriterion("BUSINESS_ID =", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotEqualTo(String value) {
            addCriterion("BUSINESS_ID <>", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdGreaterThan(String value) {
            addCriterion("BUSINESS_ID >", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_ID >=", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLessThan(String value) {
            addCriterion("BUSINESS_ID <", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_ID <=", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLike(String value) {
            addCriterion("BUSINESS_ID like", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotLike(String value) {
            addCriterion("BUSINESS_ID not like", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIn(List<String> values) {
            addCriterion("BUSINESS_ID in", values, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotIn(List<String> values) {
            addCriterion("BUSINESS_ID not in", values, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdBetween(String value1, String value2) {
            addCriterion("BUSINESS_ID between", value1, value2, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_ID not between", value1, value2, "businessId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdIsNull() {
            addCriterion("ACCESS_TYPE_ID is null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdIsNotNull() {
            addCriterion("ACCESS_TYPE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdEqualTo(String value) {
            addCriterion("ACCESS_TYPE_ID =", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdNotEqualTo(String value) {
            addCriterion("ACCESS_TYPE_ID <>", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdGreaterThan(String value) {
            addCriterion("ACCESS_TYPE_ID >", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_ID >=", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdLessThan(String value) {
            addCriterion("ACCESS_TYPE_ID <", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdLessThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_ID <=", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdLike(String value) {
            addCriterion("ACCESS_TYPE_ID like", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdNotLike(String value) {
            addCriterion("ACCESS_TYPE_ID not like", value, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdIn(List<String> values) {
            addCriterion("ACCESS_TYPE_ID in", values, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdNotIn(List<String> values) {
            addCriterion("ACCESS_TYPE_ID not in", values, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_ID between", value1, value2, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeIdNotBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_ID not between", value1, value2, "accessTypeId");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameIsNull() {
            addCriterion("ACCESS_TYPE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameIsNotNull() {
            addCriterion("ACCESS_TYPE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NAME =", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameNotEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NAME <>", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameGreaterThan(String value) {
            addCriterion("ACCESS_TYPE_NAME >", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NAME >=", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameLessThan(String value) {
            addCriterion("ACCESS_TYPE_NAME <", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameLessThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NAME <=", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameLike(String value) {
            addCriterion("ACCESS_TYPE_NAME like", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameNotLike(String value) {
            addCriterion("ACCESS_TYPE_NAME not like", value, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameIn(List<String> values) {
            addCriterion("ACCESS_TYPE_NAME in", values, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameNotIn(List<String> values) {
            addCriterion("ACCESS_TYPE_NAME not in", values, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_NAME between", value1, value2, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNameNotBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_NAME not between", value1, value2, "accessTypeName");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumIsNull() {
            addCriterion("ACCESS_TYPE_NUM is null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumIsNotNull() {
            addCriterion("ACCESS_TYPE_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NUM =", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumNotEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NUM <>", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumGreaterThan(String value) {
            addCriterion("ACCESS_TYPE_NUM >", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumGreaterThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NUM >=", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumLessThan(String value) {
            addCriterion("ACCESS_TYPE_NUM <", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumLessThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_NUM <=", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumLike(String value) {
            addCriterion("ACCESS_TYPE_NUM like", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumNotLike(String value) {
            addCriterion("ACCESS_TYPE_NUM not like", value, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumIn(List<String> values) {
            addCriterion("ACCESS_TYPE_NUM in", values, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumNotIn(List<String> values) {
            addCriterion("ACCESS_TYPE_NUM not in", values, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_NUM between", value1, value2, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypeNumNotBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_NUM not between", value1, value2, "accessTypeNum");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidIsNull() {
            addCriterion("ACCESS_TYPE_PID is null");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidIsNotNull() {
            addCriterion("ACCESS_TYPE_PID is not null");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidEqualTo(String value) {
            addCriterion("ACCESS_TYPE_PID =", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidNotEqualTo(String value) {
            addCriterion("ACCESS_TYPE_PID <>", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidGreaterThan(String value) {
            addCriterion("ACCESS_TYPE_PID >", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidGreaterThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_PID >=", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidLessThan(String value) {
            addCriterion("ACCESS_TYPE_PID <", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidLessThanOrEqualTo(String value) {
            addCriterion("ACCESS_TYPE_PID <=", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidLike(String value) {
            addCriterion("ACCESS_TYPE_PID like", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidNotLike(String value) {
            addCriterion("ACCESS_TYPE_PID not like", value, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidIn(List<String> values) {
            addCriterion("ACCESS_TYPE_PID in", values, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidNotIn(List<String> values) {
            addCriterion("ACCESS_TYPE_PID not in", values, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_PID between", value1, value2, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andAccessTypePidNotBetween(String value1, String value2) {
            addCriterion("ACCESS_TYPE_PID not between", value1, value2, "accessTypePid");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("RESULT is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("RESULT is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(String value) {
            addCriterion("RESULT =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(String value) {
            addCriterion("RESULT <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(String value) {
            addCriterion("RESULT >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(String value) {
            addCriterion("RESULT >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(String value) {
            addCriterion("RESULT <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(String value) {
            addCriterion("RESULT <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLike(String value) {
            addCriterion("RESULT like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotLike(String value) {
            addCriterion("RESULT not like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<String> values) {
            addCriterion("RESULT in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<String> values) {
            addCriterion("RESULT not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(String value1, String value2) {
            addCriterion("RESULT between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(String value1, String value2) {
            addCriterion("RESULT not between", value1, value2, "result");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}